package com.bai.order.service;

import com.bai.order.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author bai
 * @since 2023-08-19
 */
public interface OrderService extends IService<Order> {

    /**
     *  根据课程id和用户id创建订单
     * @param courseId
     * @param id
     * @return
     */
    String createOrders(String courseId, String id);
}
